<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

<head>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<link rel="stylesheet" href="css/common.css" type="text/css" />

<link href="css/adminstyle.css" rel="stylesheet" type="text/css">

<title>管理区域</title>

<script language="javascript" type="text/javascript" src="My97DatePicker/WdatePicker.js"></script>



</head>



<body>
<div id="man_zone">
<div style="background-color:#FFFFFF ">

  <form  method="post" action="<?

 $id = getStr($extract_vars,'id');

  if  (empty($id)){ echo  'product_subAdd.html'; }else{ echo  'product_subUpdate.html'; }  ?>" >

    <input name="id" type="hidden" value="<?=$id?>">

  <table width="98%" border="0" align="center"  cellpadding="3" cellspacing="1" class="tableborder">

    <tr>

      <td class="left_title_2adminssd">商品名称</td>

       <td  bgcolor="#FFFFFF"><input name="name" type="text"  value="<?=getStr($extract_vars,'name')?>"></td>

      <td class="left_title_2adminssd">课节</td>

       <td  bgcolor="#FFFFFF"><input name="lesson" type="text"  value="<?=getStr($extract_vars,'lesson')?>"></td>

      </tr>

       <tr>

          <td class="left_title_2adminssd">有效期</td>

           <td  bgcolor="#FFFFFF"><input name="period_validity" type="text"   value="<?=getStr($extract_vars,'period_validity')?>" />天</td>

          <td class="left_title_2adminssd">价格</td>

           <td  bgcolor="#FFFFFF">

         <input name="price" type="text"   value="<?=getStr($extract_vars,'price')?>" />

          </td>

      </tr>

        <tr>

          <td class="left_title_2adminssd">类型</td>

          <td  bgcolor="#FFFFFF"><select name="type">

      <?=$typeOptions?>

          </select></td>

          <td class="left_title_2adminssd" >状态</td>

           <td  bgcolor="#FFFFFF"><select name="status" >

            <?=$statusOptions?>

          </select></td>

      </tr>

        <tr>

          <td class="left_title_2adminssd">产品编号</td>

           <td  bgcolor="#FFFFFF"><input name="serial_number" type="text"   value="<?=getStr($extract_vars,'serial_number')?>" readonly /></td>

          <td class="left_title_2adminssd" >折扣</td>

           <td  bgcolor="#FFFFFF"> <input name="discount" type="text"   value="<?=getStr($extract_vars,'discount')?>" /></td>

      </tr>

        <tr>

          <td class="left_title_2adminssd">返券</td>

           <td  bgcolor="#FFFFFF" colspan="1">
           <select id="return_ticket" name="return_ticket">
              <?=$returnTicketOptions?>
            </select>  
           </td>
          <td class="left_title_2adminssd">计算单位</td>

           <td  bgcolor="#FFFFFF" colspan="1">
           <select id="unit" name="unit">
              <?=$productUnitOptions?>
           </select>   
           </td>

      </tr>
        <tr>

          <td class="left_title_2adminssd">单价(前台显示)</td>

           <td  bgcolor="#FFFFFF" colspan="1">
            <input name="unit_price" type="text"   value="<?=getStr($extract_vars,'unit_price')?>" />
           </td>
          <td class="left_title_2adminssd">限新用户使用</td>
           <td  bgcolor="#FFFFFF" colspan="1">
            <input name="new_user_favour" type="checkbox"   value="1" <?if(getStr($extract_vars,'new_user_favour')=='1'){?> checked<?}?>>
           </td>           
        <tr>

          <td class="left_title_2adminssd">积分价</td>

           <td  bgcolor="#FFFFFF" colspan="1">
            <input name="points" type="text"   value="<?=getStr($extract_vars,'points')?>" />
           </td>
          <td class="left_title_2adminssd">活动类型</td>
           <td  bgcolor="#FFFFFF" colspan="1">
	           <select id="active_type" name="active_type">
	              <?=$activeTypeOptions?>
	           </select>   
          </td>
      </tr>
        <tr>
          <td class="left_title_2adminssd">定向课程</td>
           <td  bgcolor="#FFFFFF" colspan="1">
	           <select id="target_course" name="target_course">
	              <?=$targetCourseOptions?>
	           </select>             
           </td>
          <td class="left_title_2adminssd">&nbsp;</td>
          <td  bgcolor="#FFFFFF" colspan="1">
	          &nbsp;
          </td>
      </tr>

        <tr  bgcolor="#FFFFFF">

          <td colspan="4">&nbsp;</td>

      </tr>
      
    <tr  bgcolor="#FFFFFF">

      <td colspan="4" align="center" >

        <input name="input" type="button" class="PublicBot" value="返回" onclick="window.history.go(-1);" />

        &nbsp;&nbsp;&nbsp;

        <input class="PublicBot" name="submit" type="submit" value="提交" />

        </td>

    </tr>

  </table>

</form>

</div>
</div>


</body>

</html>

